projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2633072
)
(ange-ftp-file-modtime): Use save-match-data.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 21 Dec 2001 23:57:20 +0000
(23:57 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 21 Dec 2001 23:57:20 +0000
(23:57 +0000)
lisp/net/ange-ftp.el
patch
|
blob
|
history
diff --git
a/lisp/net/ange-ftp.el
b/lisp/net/ange-ftp.el
index 9faa3a241b19008a30cad58e2621a1bb6d83c72d..79f18afd2a867eec2b9fa3dd5764b111da647512 100644
(file)
--- a/
lisp/net/ange-ftp.el
+++ b/
lisp/net/ange-ftp.el
@@
-3454,7
+3454,7
@@
Value is (0 0) if the modification time cannot be determined."
;; Bob@rattlesnake.com reports that is returns something different
;; for at least one FTP server. So, let's use the response only
;; if it matches the Internet draft.
- (when (s
tring-match "^213 [0-9]\\{14\\}$" line
)
+ (when (s
ave-match-data (string-match "^213 [0-9]\\{14\\}$" line)
)
(setq modtime
(encode-time
(string-to-number (substring line 16 18))